package com.cenxi.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author cenxi
 * @Date 2023/11/13 14:09
 * @Version 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("角色VO")
public class RoleVO {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称")
    private String roleName;

    /**
     * 角色状态1:启用, 0未启用
     */
    @ApiModelProperty(value = "角色状态1:启用, 0未启用")
    private Integer state;

    /**
     * 角色备注
     */
    @ApiModelProperty(value = "角色备注")
    private String remark;

    /**更新时间*/
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime updateTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
}
